﻿using System;
using Microsoft.SharePoint.Administration;

namespace SPDeployer.Core
{
    internal class WebApplicationManager
    {
        public SPWebApplication Get(string url)
        {
            var uri = new Uri(url, UriKind.Absolute);

            return SPWebApplication.Lookup(uri);
        }
    }
}
